package com.googlecode.animator.data.cameras
{
	import com.googlecode.animator.data.IValueObject;
	
	public class TopViewCameraVO extends CameraVO
	{
		public static const TYPE:String = "TopViewCamera";
		
		public function TopViewCameraVO()
		{
			name = "default_camera_2";
			x = 0;
			y = 1000000;
			z = 1;
			zoom = 5000;
			zoomScale = 100;
			label = "Top View";
			gridOrientation = "xz";
			plane3DOrientation = "xz";
			roll = 180;
			yUp = true;
		}
		
		override public function clone(src:* = null):IValueObject
		{
			return super.clone(new TopViewCameraVO());
			
		}
		
		override public function toXML(src:XML = null):XML
		{
			return super.toXML(new XML(<{TYPE} name={this.name} label={this.label}></{TYPE}>));
		}
	}
}